package com.rr.mymoney.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rr.mymoney.model.Currency;

@Repository
public interface CurrencyDao {
    public void saveOrUpdate(Currency currency);

    public Currency get(Long id);

    public void delete(Currency currency);

    public List<Currency> getAll();
}
